{include file='../Public/header.tpl'}
<link href="/Public/Home/css/member.css" rel="stylesheet" type="text/css" media="screen" />
<div class="content">
	<div class="user">
		<div class="menu">当前位置: <span><a href=".">首页</a> <code>&gt;</code> 购物流程</span></div>
		
<form id=theForm name=theForm onsubmit="return checkOrderForm(this)" action='/index.php/Home/Member/orders' method=post>

			<div class=shop>
			<div class=shoporder>
				<div id=step_2>
					<div class=linebt><span>收货人信息</span><em></em></div>
					<div class=tfmain_m>
						<div class=shoporder_mdiv>
							<div class=tfmain_mdivm id=step_2_address>
								<p>收货人姓名：<span id=view_name>{$smarty.session.relname}</span></p>
								<p>&nbsp;&nbsp;&nbsp;&nbsp;邮政编码：<span id=view_zipcode>{$smarty.session.code}</span></P>
								<p>手机：<span id=view_mobile>{$smarty.session.phone}</span></p>
								<p>&nbsp;&nbsp;&nbsp;&nbsp;详细地址：<span id=view_address>{$smarty.session.address}</span></P>
								<p>邮箱：<span id=view_phone>{$smarty.session.email}</span></p>
								<p class=shoporder_mdivmp>送货时间：{date('Y-m-d',time()+3600*24)}日之前</p>
								<div class=clear></div>
							</div>
							<div class=tfmain_butr><a href="flow.php?step=consignee" name=but_step2_g1>修改</a></div>
						</div>
					</div>
				</div>
			<div id=step_4>
				<div class=linebt><span id=step2>配送方式</span><em></em></div>
			<div class=tfmain_m>
			<div class=shoporder_mdiv>
			<div class=tfmain_mdivm>
			<dl class=shipping_method>
			  <dt>送货方式： 
			</dt>
						<dd>
				<span class="left left1"><input name="express" type="radio" value="1" checked="true" supportCod="0" insure="0" onclick="selectShipping(this)" />申通快递</span> 
				<span class="left left2">
					江、浙、沪地区首重为15元/KG，其他地区18元/KG， 续重均为5-6元/KG， 云南地区为8元 
				</span>
				<span class=clear></span>
			</dd>
						<dd>
				<span class="left left1"><input name="express" type="radio" value="2" checked="true" supportCod="1" insure="0" onclick="selectShipping(this)" />城际快递</span> 
				<span class="left left2">
					配送的运费是固定的 
				</span>
				<span class=clear></span>
			</dd>
						<dd>
				<span class="left left1"><input name="express" type="radio" value="3" checked="true" supportCod="0" insure="0" onclick="selectShipping(this)" />邮局平邮</span> 
				<span class="left left2">
					邮局平邮的描述内容。 
				</span>
				<span class=clear></span>
			</dd>
						<dd>
				<input id=ECS_NEEDINSURE disabled onclick=selectInsure(this.checked)  type=checkbox value=1 name=need_insure> 
				配送是否需要保价 
			</dd>
			</dl>
			<!--<dl>
				<dt>收货时间：</dt>
				<dd><input name="sendtime" type="radio" value="0" str="工作日、双休日与假日均可送货" checked="true">工作日、双休日与假日均可送货</dd>
				<dd><input name="sendtime" type="radio" value="1" str="只工作日送货（双休日、假日不用送）">只工作日送货（双休日、假日不用送）（注：写字楼/商用地址客户请选择）</dd>
				<dd><input name="sendtime" type="radio" value="2" str="学校地址/地址白天没人，请尽量安排其他时间送货">学校地址/地址白天没人，请尽量安排其他时间送货（注：特别安排可能超出预计送货天数）</dd>
			</dl>-->
			</div>
			</div>
			</div>
			</div>
						<div id=step_6>
			<div class=linebt><span id=step3>支付方式</span><em></em></div>
			<div class=tfmain_m>
			<div class=shoporder_mdiv>
			<div class="tfmain_mdivm" style="overflow:hidden;height:auto;padding-bottom:10px;">

			<dl class=shipping_method>
						  <dd>
				<span class="left1 left">
					<input type="radio" name="payment" value="1" checked isCod="0" onclick="selectPayment(this)" />
					余额支付				</span> 
				<span class="left2 left">
					使用帐户余额支付。只有会员才能使用，通过设置信用额度，可以透支。					<font color=red><span id=ECS_CODFEE>￥0.00元</span></font>
				</span>
				<span class=clear></span>
			  </dd>
			 			  <dd>
				<span class="left1 left">
					<input type="radio" name="payment" value="2" checked isCod="0" onclick="selectPayment(this)" />
					银行汇款/转帐				</span> 
				<span class="left2 left">
					银行名称
收款人信息：全称 ××× ；帐号或地址 ××× ；开户行 ×××。
注意事项：办理电汇时，请在电汇单“汇款用途”一栏处注明您的订单号。					<font color=red><span id=ECS_CODFEE>￥0.00元</span></font>
				</span>
				<span class=clear></span>
			  </dd>
			 			  <dd>
				<span class="left1 left">
					<input type="radio" name="payment" value="3" checked isCod="1" onclick="selectPayment(this)" />
					货到付款				</span> 
				<span class="left2 left">
					开通城市：×××
货到付款区域：×××					<font color=red><span id=ECS_CODFEE><span id="ECS_CODFEE">￥0.00元</span></span></font>
				</span>
				<span class=clear></span>
			  </dd>
			 			</dl>
			</div>
			</div>
			</div>
			</div>
						<div id=step_7>
			<div class=linebt><span>商品列表</span><em></em></div>
			<ul class=orderm_b>
			  <li class=orderm_num>序号 </li>
			  <li class=orderm_zjd>商品名称 </li>
			  <li class=orderm_zt>颜色 </li>
			  <li class=orderm_xq>购买数量 </li>
			  <li class=orderm_zf>本店价 </li>
			  <li class=orderm_zf>小计 <div class=clear></div></li>
			</ul>
{counter assign=i print=false start=0}
{foreach from=$Cart item=val}
			<ul>
			  <li class=orderm_num>{counter}{$i}</li>
			  <li class=orderm_zjd>
				<a href="/index.php/Home/Index/goods/id/{$val.goodsID}" target="_blank">{$val.name}</a><br />
				<font style="font-size:12px">支持货到付款</font>
			  </li>
			  <li class=orderm_zt>随机</li>
			  <li class=orderm_xq>{$val.num}</li>
			  <li class=orderm_zf>{$val.price}</li>
			  <li class=orderm_zf>{$val.num*$val.price}</li><div class=clear></div>
			</ul>
{/foreach}

						<div class=contno>
			<div class=contno_l>
				<span>
					购物金额小计 ￥{$total}元				</span>
			</div>
			<div class=contno_r><a class=f6 href="flow.php">回到购物车，添加或删除商品</a></div>
			<div class=clear></div>
			</div>
			</div>
			<div id=step_6 style="margin-top: 10px">
			<div class=linebt><span id=step3>其它信息</span><em></em></div>
			<div class=tfmain_m>
			<div class=shoporder_mdiv>
			<div class=tfmain_mdivm>
			<dl class="shipping_method" style="overflow:hidden;height:auto;">
				<dd>
				  <span class=left>订单附言:</span> 
				  <span class=left>
					<textarea id=postscript style="border-right: #ccc 1px solid; border-top: #ccc 1px solid; border-left: #ccc 1px solid; border-bottom: #ccc 1px solid" name=postscript rows=3 cols=80></textarea> 
				  </span>
				  <span class=clear></span>
				</dd>
			</dl>
			</div>
			</div>
			</div>
			</div>
			<div id=step_6>
			<div class=linebt><span id=step3>费用总计</span><em></em></div>
			<div class=tfmain_m>
				<div class=shoporder_mdiv>
					<div class=tfmain_mdivm>
						<div id=ECS_ORDERTOTAL style="padding-bottom: 20px; text-align: right">
						商品总价: <font class=f4_b>￥{$total}元</font> <br>
						应付款金额: <font class=f4_b>￥{$total}元</font> <br>
					</div>
				</div>
			</div>
			</div>
			</div>
			<div class=shoporder_enter>
			请确认以上信息，下单后将无法修改<br>
			<button class=buttonredb id=overbutton  type=submit>确定下单</button>
			</div>
			</div>
			</div>
			</form>
		
		
		
			</div>
</div>
{include file='../Public/footer.tpl'}